﻿
using Microsoft.AspNetCore.Builder;

namespace LDM.Framework;

public static class ApplicationBuilderExtensions
{
    /// <summary>
    /// 开发环境引用
    /// </summary>
    /// <param name="app"></param>
    /// <returns></returns>
    public static IApplicationBuilder UseDevelopment(this IApplicationBuilder app)
    {
        app.UseSwaggerDoc();

        return app;
    }
}
